package yygh.hospital.model.hosp;

// Hospital数据表信息，主要包括

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import yygh.hospital.model.base.BaseEntity;

/**
 *

 id bigint(20) 编号
 hosname varchar(100) 医院名称 √
 hoscode varchar(30) 医院编号   √
 api_url varchar(100) api基础路径   √
 sign_key varchar(50) 签名秘钥  √
 contacts_name varchar(20) 联系人  √
 contacts_phone varchar(11) 联系人手机   √
 status tinyint(3)  状态  √
 create_time timestamp 创建时间
 update_time timestamp  更新时间
 is_deleted tinyint(3)  逻辑删除(1:已删除，0:未删除)
 */
@Data
@ApiModel(description = "医院设置")
@TableName("hospital_set")
public class HospitalSet extends BaseEntity {

    private static final long serialVersionUID = 1L;



    @ApiModelProperty(value = "医院名称")
    @TableField("hosname")
    private  String hosname;

    @ApiModelProperty(value = "医院编号")
    @TableField("hoscode")
    private  String hoscode;

    @ApiModelProperty(value = "api基础路径")
    @TableField("api_url")
    private  String apiUrl;

    @ApiModelProperty(value = "签名秘钥")
    @TableField("sign_key")
    private  String signKey;

    @ApiModelProperty(value = "联系人姓名")
    @TableField("contacts_name")
    private  String contactsName;

    @ApiModelProperty(value = "联系人手机")
    @TableField("contacts_phone")
    private  String contactsPhone;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private  Integer status;

}
